package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class SetAreaArmModeReq {
    @NotBlank
    @Schema(name = "deviceId",description = "设备id 必填 为编码")
    private String deviceId;//设备id 必填 为编码
    @NotBlank
    @Schema(name = "devCode",description = "必填 设备密码加密⽅式Aes256加密，秘钥使⽤开发者对应产品下的sk")
    private String devCode;//必填 设备密码加密⽅式Aes256加密，秘钥使⽤开发者对应产品下的sk
    @NotBlank
    @Schema(name = "armMode",description = "必填 布防模式 \"T\"-Total外出布防模式；\"p1\"-Partial1在家布防模式；\"D\"-撤防")
    private String armMode;//必填 布防模式 "T"-Total外出布防模式；"p1"-Partial1在家布防模式；"D"-撤防
    @NotEmpty
    @Schema(name = "areaIds",description = "必填 分区id列表")
    private List<Integer> areaIds;//必填 分区id列表
    @NotNull
    private ArmOptionsReq armOptions;


}
